<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
  <style type="text/css">
    body, html,#allmap {width: 100%;height: 100%;overflow: hidden;margin:0;font-family:"微软雅黑";}
    .over{
      position: relative;
      z-index: 1000;
    }

    #out{
      z-index: 999;
      position: absolute;

    }
  </style>
  <script type="text/javascript" src="https://api.map.baidu.com/api?type=webgl&v=1.0&ak=8scLv7YneA5YNgLS5d9pqWlozOdUUEMy">

  </script>
  <title>RS View</title>
</head>
<body>
<div id="out">
  <div class="over"><h1><a href="2D.html">显示2D地图</a></h1></div>
  <div class="over"><h1><a href="3D.html">显示3D地图</a></h1></div>
  <div class="over"><h1><a href="RemoteSenseMap.html">显示卫星地图</a></h1></div>
</div>
<div id="allmap">
</div>

</body>
</html>
<script type="text/javascript">
  // GL版命名空间为BMapGL
  var map = new BMapGL.Map("allmap");    // 创建Map实例
  map.centerAndZoom(new BMapGL.Point(121.568735,38.926334), 16);  // 初始化地图,设置中心点坐标和地图级别
  map.enableScrollWheelZoom(true);     //开启鼠标滚轮缩放
  map.setMapType(BMAP_EARTH_MAP);      // 设置地图类型为地球模式
</script>

